<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <title>Promise testDemo</title>
  <style type="text/css">
  * {
        padding: 0;
        margin: 0;
    }

    div {
    width: 100px;
    height: 100px;
    background: yellowgreen;
    position: absolute;
  }
    </style>
</head>
<body>
  <div></div>
  <script src="index.js"></script>
  <script type="text/javascript">
  </script>
</body>
</html>